package com.sckj.springbootdome.dao;

import com.sckj.springbootdome.entity.LoginUser;

import com.sckj.springbootdome.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface LoginMapper {
    @Select("select * from user where username=#{username} and password=#{password}")
    public LoginUser login(String username, String password);
}
